package com.zhanglu.fun.services.datacenter.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

/**
 * @description 用户身份令牌
 * @Auther zhanglu
 * @Date 2017/9/20 下午1:50
 */
@Getter
@Setter
@ToString(callSuper = true)
@ApiModel(value = "token令牌")
public class AuthToken extends BaseEntity {
    @ApiModelProperty("令牌")
    private String token;
    @ApiModelProperty("到期时间")
    private Date expiresDate;
    @ApiModelProperty("用户Id主键,预留字段，暂时可以不用")
    private Long userId;
}
